package com.homegoods.classify.model;

import java.io.Serializable;
import java.util.List;

/**
 * add shibo.zheng
 * 19/06/21
 * 分类界面的数据model（包含左边标题名称、右边品牌的数据集合、右边其他分类的数据集合）
 */

public class ClassifyModel implements Serializable {
    private List<BrandListBean> brandList;
    private List<ProductGroupListBean> productGroupList;

    public List<BrandListBean> getBrandList() {
        return brandList;
    }

    public void setBrandList(List<BrandListBean> brandList) {
        this.brandList = brandList;
    }

    public List<ProductGroupListBean> getProductGroupList() {
        return productGroupList;
    }

    public void setProductGroupList(List<ProductGroupListBean> productGroupList) {
        this.productGroupList = productGroupList;
    }

    public static class BrandListBean implements Serializable{
        /**
         * categoryId : 74
         * categoryName : T恤
         * subList : [{"id":70,"brandName":"10","logo":"mall/images/20190704/1562218184645AzjJTCxxZtK7hsPfZweHceESMGcAGCA4.jpg"}]
         */

        private int categoryId;
        private String categoryName;
        private List<SubListBean> subList;

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public List<SubListBean> getSubList() {
            return subList;
        }

        public void setSubList(List<SubListBean> subList) {
            this.subList = subList;
        }

        public static class SubListBean implements Serializable {
            /**
             * id : 70
             * brandName : 10
             * logo : mall/images/20190704/1562218184645AzjJTCxxZtK7hsPfZweHceESMGcAGCA4.jpg
             */

            private int id;
            private String brandName;
            private String logo;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getBrandName() {
                return brandName;
            }

            public void setBrandName(String brandName) {
                this.brandName = brandName;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }
        }
    }

    public static class ProductGroupListBean implements Serializable {
        /**
         * id : 91
         * groupLevel : 1
         * groupName : 箱包服饰
         * subList : [{"id":92,"groupLevel":2,"groupName":"新品首推","logo":""},{"id":93,"groupLevel":2,"groupName":"型男专场","logo":""},{"id":95,"groupLevel":2,"groupName":"精品男包","logo":""},{"id":96,"groupLevel":2,"groupName":"时尚女包","logo":""},{"id":97,"groupLevel":2,"groupName":"旅行必备","logo":""}]
         */

        private int id;
        private int groupLevel;
        private String groupName;
        private List<SubListBeanX> subList;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGroupLevel() {
            return groupLevel;
        }

        public void setGroupLevel(int groupLevel) {
            this.groupLevel = groupLevel;
        }

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public List<SubListBeanX> getSubList() {
            return subList;
        }

        public void setSubList(List<SubListBeanX> subList) {
            this.subList = subList;
        }

        public static class SubListBeanX implements Serializable {
            /**
             * id : 92
             * groupLevel : 2
             * groupName : 新品首推
             * logo :
             */

            private int id;
            private int groupLevel;
            private String groupName;
            private String logo;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getGroupLevel() {
                return groupLevel;
            }

            public void setGroupLevel(int groupLevel) {
                this.groupLevel = groupLevel;
            }

            public String getGroupName() {
                return groupName;
            }

            public void setGroupName(String groupName) {
                this.groupName = groupName;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }
        }
    }

    /*private String leftTitle;
    private List<RightModel> rightModels;
    private List<BrandModel> brandModels;

    public List<BrandModel> getBrandModels() {
        return brandModels;
    }

    public void setBrandModels(List<BrandModel> brandModels) {
        this.brandModels = brandModels;
    }

    public List<RightModel> getRightModels() {
        return rightModels;
    }

    public void setRightModels(List<RightModel> rightModels) {
        this.rightModels = rightModels;
    }

    public String getLeftTitle() {

        return leftTitle;
    }

    public void setLeftTitle(String leftTitle) {
        this.leftTitle = leftTitle;
    }*/
}
